#pragma once
#include <nice2d/predef.h>
#include <nice2d/sfmlmessage.h>

class MessageListener
{
public:
    virtual bool onListener(MessagePointer message) = 0;
public:
    static MessageListenerPointer createMousePressedListener(sf::Mouse::Button inputButton);
    static MessageListenerPointer createMouseReleasedListener(sf::Mouse::Button inputButton);
    static MessageListenerPointer createKeyPressedListener(sf::Keyboard::Key key, bool isAlt, bool isCtrl = false, bool isShift = false);
};
